#!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""
@Project ：Employment_class 
@File    ：02_客户端-连接单进程.py
@IDE     ：PyCharm 
@Author  ：XiaoDengYa
@Date    ：2021/7/1/001 21:21 
"""

from socket import *



# 连接服务器
for i in range(20):
    tcpClinetSocket = socket(AF_INET, SOCK_STREAM)
    serAddr = ("192.168.73.129", 7788)
    tcpClinetSocket.connect(serAddr)
    tcpClinetSocket.close()
